/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ExceptionsPakke;

/**
 *
 * @author vildmand
 */
public class NoSuchVareNavnException extends Exception{
    private String text;

    public NoSuchVareNavnException(String text)
    {
        this.text = text;
    }
    
    public String getText()
    {
        return text;
    }
    
    public String toString()
    {
        return text;
    }
    
}
